import React, { Component } from "react";
import "./index.scss";
/**
 * 公共角标
 */
class index extends Component {
	render() {
		const { cornerContent = "" } = this.props;
		return cornerContent ? (
			<div className="angle_tip-box">
				<div className="content-box">{cornerContent}</div>
			</div>
		) : (
			""
		);
	}
}

export default index;
